﻿<%@ Page Title="" Language="C#" MasterPageFile="~/FrontEnd.master" AutoEventWireup="true"
    CodeFile="Company.aspx.cs" Inherits="Company" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphdContent" runat="Server">
    <div class="title-menu" style="text-align: left; padding-left: 5px">
        <span class="title">Tất cả các sản phẩm</span>
    </div>
    <asp:ListView runat="server" ID="lvShowAllPhones"
        ItemPlaceholderID="itemPhone">
        <LayoutTemplate>
            <div class="wrapper-phones">
                <ul class="ul-phones">
                    <asp:PlaceHolder runat="server" ID="itemPhone"></asp:PlaceHolder>
                </ul>
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <li class="item-phone">
                <asp:HyperLink ID="HyperLink1" runat="server" Target="_parent" NavigateUrl='<%# "~/PhoneDetail.aspx?id=" + Eval("Id") %>'>
                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Img") %>' CssClass="img-item-phone" />
                </asp:HyperLink>
                <h4>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>' /></h4>
                    <h5><asp:Label ID="Label2" runat="server" Text='<%# Eval("Price") %>' /> VND</h5>
                <div>
                    <button class="btn btn-primary btn-normal">
                        <span class="glyphicon glyphicon-shopping-cart"></span>Đặt hàng
                    </button>
                </div>
            </li>
        </ItemTemplate>
    </asp:ListView>
</asp:Content>
